<template>
  <div class="tenderTimeOut">
    <div class="shoppingShow" v-for="(tenderTimeOut,auction) in tenderTimeOut" :key="auction">
        <img :src="tenderTimeOut.mainPic" class="goodsShow">
        <div class="shoppingShowRight">
            <p class="goodsTitle">{{tenderTimeOut.productName}}</p>
            <span class="goodslabel">{{tenderTimeOut.productGrade}}级</span>
            <!-- <span class="goodslabel">{{tenderTimeOut.productOpenness}}度开放</span> -->
            <span class="goodslabel">长度:{{tenderTimeOut.productLength}}</span>
            <span class="goodslabel">{{tenderTimeOut.color}}</span>
              <p class="purchase">采购数量:{{tenderTimeOut.purchaseNum}}{{tenderTimeOut.flowerUnit}}</p>
              <p class="delivery">期望发货时间:{{tenderTimeOut.expectedDeliveryTime}}</p>
            <span class="goodstimeout">倒计时:{{tenderTimeOut.endTime}}</span> 
        </div>  
    </div>    
  </div>
</template>

<script>
export default {
    name:"tenderTimeOut",
    props:{
      tenderTimeOut:{
        type:Array,
        default:[]
      }
    }
}
</script>

<style scoped>
  .auctionGoods{
    background-color: rgba(247,249,252,1);
  }
  .shoppingShow{
    width:100%;
    display: flex;
    margin-top: 10px;
    background-color: #fff;
  }
  .goodsShow{
    width: 112px;
    height: 112px;
    vertical-align: middle;
    margin-left: 10px;
    margin-top: 20px;
    flex: 0.5;
  }
  .shoppingShowRight{
    margin-right: 5px;
    vertical-align: middle;
    flex: 1;
  }
  .goodsTitle{
    font-size:14px;
    font-weight:bold;
    color:rgba(51,51,51,1);
    line-height:10px;
    white-space:nowrap;
    margin-left: 15px;
  }
  .goodslabel{
    background:#f7f9fc;
    border-radius:2px;
    font-size:10px;
    font-weight:500;
    color:rgba(169,173,191,1);
    line-height:10px;

    padding: 2px;
    text-align:center;
    margin-left: 15px;
  }
  .goodsMarket{

  }
  .purchase{
    background:#fff0e6;
    border-radius:3px;
    font-size:10px;
    font-weight:500;
    color:rgba(255,98,0,1);
    width:95px;
    margin-left: 15px;
  }
  .delivery{
    font-size:10px;
    font-weight:500;
    color:rgba(169,174,192,1);
    line-height:10px;
    margin-left: 15px;
  }
  .goodstimeout{
      font-size:12px;
      font-weight:bold;
      color:rgba(0,198,87,1);
      margin-left: 15px;
  }

</style>